#ifndef CUSTOMEIDT_H
#define CUSTOMEIDT_H

#include <QLineEdit>
#include <QAction>
#include <QKeyEvent>
class CustomEidt : public QLineEdit
{
public:
    CustomEidt(QWidget* p=nullptr);

    CustomEidt(const QIcon& ic, QWidget* p=nullptr);

     QAction *act;

     void setActionIcon(const QIcon& ic);

     void keyPressEvent(QKeyEvent* e);

     bool event(QEvent *e);

};

#endif // CUSTOMEIDT_H
